package com.campus.common.message;

import com.campus.common.vo.Student;

import java.io.Serializable;
import java.util.List;

public class StudentAccountManagementResponse extends BaseMessage implements Serializable {
    private boolean success;
    private String message;
    private List<Student> students;
    private Student student;

    public StudentAccountManagementResponse() {}
    public StudentAccountManagementResponse(boolean success, String message, List<Student> students, Student student) {
        this.success = success;
        this.message = message;
        this.students = students;
        this.student = student;
    }

    public boolean isSuccess() { return success; }
    public String getMessage() { return message; }
    public List<Student> getStudents() { return students; }
    public Student getStudent() { return student; }
}
